package com.demo.designpattern.singleton;

/**
 * Created by hunter
 *
 * @Description 枚举式
 */
public enum EnumSingleton {

    INSTANCE;// 保证只有一个枚举值即单例

    EnumSingleton() {
        System.out.println("枚举式单例被初始化拉...");
    }
}
